package Wix::Tag::DirectorySearch;

use parent qw/Wix::Tag/;

sub new() {
	my ($class, $args) = @_;
	
	my $self = Wix::Tag->new({TAG => 'DirectorySearch'});
	
	$self->addAttr('Id', $args->{ID});
	$self->addAttr('Path', $args->{PATH});
	$self->addAttr('Depth', $args->{DEPTH});
	
	return bless($self, $class);
}

sub addFileSearch($) {
	my ($self, $filesearch) = @_;

	$self->addElement('Wix::Tag::FileSearch', $filesearch);	
}

1;